<?php session_start();?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />	
	<title>Exercício Programação Web</title>
	<link href="http://localhost/sidep/conta_contabils/width=device-width, initial-scale=1.0" type="application/rss+xml" rel="alternate" title="viewport" /><meta name="description" content="Sistema de Depreciação de Bens Materiais" />
	<link href="http://localhost/sidep/conta_contabils/Diovane Monteiro, Renan Reis, Kathlen Brum" type="application/rss+xml" rel="alternate" title="author" /><link href="/sidep/favicon.ico" type="image/x-icon" rel="icon" /><link href="/sidep/favicon.ico" type="image/x-icon" rel="shortcut icon" />
	<link rel="stylesheet" type="text/css" href="css/bootstrap.css" /><link rel="stylesheet" type="text/css" href="/sidep/css/bootstrap-responsive.css" />
	<link rel="stylesheet" type="text/css" href="css/bootstrap-custom.css" /><link rel="stylesheet" type="text/css" href="/sidep/css/bootstrap-responsive-custom.css" />
	<link rel="stylesheet" type="text/css" href="css/sidep.css" /><script type="text/javascript" src="/sidep/js/jquery-1.7.2.js"></script>	
</head>
<body>
	<br />
    <div class="container">
      <div class="row">
		<div class="page">
			<div class="page-header">
				<h2>Login</h2>
			</div>
			<div class="page-content">
			
				<?php if (isset($_SESSION['flash']) && !empty($_SESSION['flash'])) { ?>
				<div class="alert alert-error">
					<?php echo $_SESSION['flash']; ?>
				</div>			
				<?php } ?>
				
				<form action="autenticacao.php" class="form-horizontal" id="ContaContabilAddForm" method="post" accept-charset="utf-8">
					<fieldset>
						<legend>Login</legend>
						<div class="control-group">
							<label for="ContaContabilDescricao" class="control-label">Usuário</label>					
							<div class="controls">
				              <input name="login" class="input-large" type="text" id="ContaContabilDescricao"/>		            
				            </div>
						</div>
						<div class="control-group">
							<label for="ContaContabilVidaUtil" class="control-label">Senha</label>				
							<div class="controls">
								<input name="password" type="password" class="input-medium" id="ContaContabilVidaUtil"/>		            
							</div>
						</div>
						<div class="control-group">
							<div class="controls">
				            	<input  class="btn btn-primary" type="submit" value="Login"/>
				            </div>	          	
				        </div>
					</fieldset>
				</form>   
			</div>
   			<div class="page-footer"></div>
		</div>
      </div><!--/row-->
 	</div><!--/.fluid-container-->
</body>
</html>
